package cn.kgc.springcloud.hystrix;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;

/**
 * @author: mosin
 * @version: v1.0  2022/8/19
 */
@SpringBootApplication
@EnableCircuitBreaker  // 标识开启hystrix的监控服务
public class HystrixApplication {
    public static void main(String[] args) {
        SpringApplication.run(HystrixApplication.class, args);
    }
}
